﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace RecruitmentPage.Models.RPModel
{
    public class RoleMenu
    {
        [Key, Column(Order = 0)]
        public Guid MenuId { get; set; }
        [ForeignKey("MenuId")]
        public Menu Menu { get; set; }
        

        [Key, Column(Order = 1)]
        public Guid RoleId { get; set; }
        [ForeignKey("RoleId")]
        public Role Role { get; set; }
        


    }
}